package com.ruoyi.web.map;

import com.neocean.archive.domain.Honor;
import com.neocean.archive.model.HonorAttachmentModel;
import com.neocean.archive.model.HonorModel;
import com.neocean.archive.model.HonorPictureModel;
import com.ruoyi.system.domain.Attachment;
import com.ruoyi.system.domain.Picture;
import com.ruoyi.web.model.PictureModel;
import org.mapstruct.Mapper;

/**
 * Description: com.ruoyi.web.map
 * User: hushibo
 * Date: 2021-12-13 15:38
 * Time: 15:38
 * Version: 1.0
 */
@Mapper(componentModel = "spring")
public interface PictureMap {
    PictureModel toModel(Picture picture);
    Picture toPicture(PictureModel model);
}
